package com.gmgx.hrms.entity;

import java.time.LocalDate;

/**resign_status状态有下列几种情况
 * 0 表示待部门经理审批（员工）
 * 1 表示待人事经理审批（部门经理）
 * 2 表示待CEO审批（人事经理）
 * 3 表示审批不通过
 * 4 表示审批通过
 * 5 表示已过期（已经执行离职操作）
 */
public class Resign {

    private Integer resign_id;
    private Emp resign_emp;
    private String resign_reason;
    private LocalDate resign_date;
    private String resign_status;


    public Integer getResign_id() {
        return resign_id;
    }

    public void setResign_id(Integer resign_id) {
        this.resign_id = resign_id;
    }

    public Emp getResign_emp() {
        return resign_emp;
    }

    public void setResign_emp(Emp resign_emp) {
        this.resign_emp = resign_emp;
    }

    public String getResign_reason() {
        return resign_reason;
    }

    public void setResign_reason(String resign_reason) {
        this.resign_reason = resign_reason;
    }

    public LocalDate getResign_date() {
        return resign_date;
    }

    public void setResign_date(LocalDate resign_date) {
        this.resign_date = resign_date;
    }

    public String getResign_status() {
        return resign_status;
    }

    public void setResign_status(String resign_status) {
        this.resign_status = resign_status;
    }

    @Override
    public String toString() {
        return "Resign{" +
                "resign_id=" + resign_id +
                ", resign_emp=" + resign_emp +
                ", resign_reason='" + resign_reason + '\'' +
                ", resign_date=" + resign_date +
                ", resign_status='" + resign_status + '\'' +
                '}';
    }
}
